package com.smartleanx.module.hrm.dal.dataobject.employee;

import lombok.*;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import com.smartleanx.framework.tenant.core.db.TenantBaseDO;

/**
 * 员工成长轨迹 DO
 *
 * @author tengcj
 */
@TableName("hrm_employee_growth_record")
@KeySequence("hrm_employee_growth_record_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeGrowthRecordDO extends TenantBaseDO {

    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 员工id
     */
    private Long employeeId;
    /**
     * 操作
     */
    private String action;
    /**
     * 文本
     */
    private String content;
    /**
     * 生效时间
     */
    private LocalDateTime effectiveTime;

}